/*
*Copyright 2021-2023 NERCIS
*
*Licensed under the Apache License, Version 2.0 (the "License");
*you may not use this file except in compliance with the License.
*You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*Unless required by applicable law or agreed to in writing, software
*distributed under the License is distributed on an "AS IS" BASIS,
*WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*See the License for the specific language governing permissions and
*limitations under the License.
*/

package cn.ac.nercis.pes.common.constant.common;

/**
 * 基础常量类
 * @author zpy
 * @version 1.0.0
 */
public interface BaseConstants {
    /**
     * 自动换行标识符
     */
    String REGEX_WRAP_TEXT_SPLIT = "\\n|\\r|\\r\\n|\\\\n";
    /**
     * 换行符
     */
    String NEW_LINE = "\n";

    /**
     * 分数计算保留小数位
     */
    Integer SCORE_SCALE = 4;
    /**
     * 总分数计算保留小数位
     */
    Integer OVERALL_SCORE_SCALE = 2;
    /**
     * 层面下全不适用情况时得分
     */
    Integer LAYER_NOT_APPLY_SCORE = -1;
    /**
     * 空分数展示标识
     */
    String EMPTY_SCORE_TAG = "/";
    /**
     * 字符串数组分隔符
     */
    String MULTI_SPLIT_CHAR = "|";
    /**
     * 报告中字符串数组连接符
     */
    String WORD_MULTI_JOIN_CHAR = "、";

    /**
     * 导入数据冲突提示标题
     */
    String IMPORT_CONFLICT_DATA_TAG = "冲突数据标识";
}